package com.netease.c;

import java.util.Vector;

public class e
{
  protected Vector a = new Vector();

  public Object a()
  {
    while (true)
    {
      Object localObject2;
      synchronized (this.a)
      {
        if (this.a.size() > 0)
        {
          localObject2 = b();
          return localObject2;
        }
      }
      try
      {
        this.a.wait();
        label35: localObject2 = b();
        monitorexit;
        continue;
        localObject1 = finally;
        monitorexit;
        throw localObject1;
      }
      catch (Exception localException)
      {
        break label35;
      }
    }
  }

  public Object a(int paramInt)
  {
    synchronized (this.a)
    {
      Object localObject2 = this.a.remove(paramInt);
      return localObject2;
    }
  }

  public void a(int paramInt, Object paramObject)
  {
    if (paramObject == null);
    while (true)
    {
      return;
      synchronized (this.a)
      {
        this.a.add(paramInt, paramObject);
        this.a.notify();
      }
    }
  }

  public void a(Object paramObject)
  {
    if (paramObject == null);
    while (true)
    {
      return;
      synchronized (this.a)
      {
        this.a.addElement(paramObject);
        this.a.notify();
      }
    }
  }

  public Object b()
  {
    Object localObject2;
    synchronized (this.a)
    {
      if (this.a.size() > 0)
      {
        localObject2 = this.a.elementAt(0);
        this.a.removeElementAt(0);
      }
      else
      {
        localObject2 = null;
      }
    }
    return localObject2;
  }

  public boolean b(Object paramObject)
  {
    synchronized (this.a)
    {
      boolean bool = this.a.removeElement(paramObject);
      return bool;
    }
  }

  public Object c()
  {
    Object localObject2;
    synchronized (this.a)
    {
      if (this.a.size() > 0)
        localObject2 = this.a.elementAt(0);
      else
        localObject2 = null;
    }
    return localObject2;
  }

  public boolean c(Object paramObject)
  {
    synchronized (this.a)
    {
      boolean bool = this.a.contains(paramObject);
      return bool;
    }
  }

  public int d()
  {
    return this.a.size();
  }

  public void e()
  {
    synchronized (this.a)
    {
      this.a.notifyAll();
      return;
    }
  }

  public void f()
  {
    synchronized (this.a)
    {
      this.a.removeAllElements();
      this.a.notifyAll();
      return;
    }
  }

  public void g()
  {
    try
    {
      synchronized (this.a)
      {
        this.a.wait();
        label14: return;
      }
    }
    catch (Exception localException)
    {
      break label14;
    }
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.c.e
 * JD-Core Version:    0.6.0
 */